home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
File
/
Static
/
Makefile
< prev
Wrap
Makefile
|
1995-09-04
|
2KB
|
98 lines
ObjectFiles = \
o.AllocLoad \
o.Exists \
o.IsDir \
o.LoadTo \
o.printf \
o.SetType \
o.Size \
o.Date \
o.Delete \
o.FileOps \
o.GetType \
LibName = File
# Template makefile which makes normal
# .o files for use in the main static
# linking DeskLib.
# The macro $(ObjectFiles) should be set at the
# start of this file to be a space-separated
# list of object files.
# This is done by 'Makatic'.
# The macro $(LibName) should also be set at the
# start of this file, to be the name of the
# DeskLib sublibrary.
# This is done by 'Makatic'.
# Compiler and linker flags, These can be anything.
# All essential flags are included in the macros
# $(CC) and $(ASM)
#
CCFlags = -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
CC = cc -c $(CCFlags)
ASM = objasm $(ASMFlags)
# -------------------------------------------------------
# Everything below here should probably not be changed...
# -------------------------------------------------------
# Here's what we want to make...
#
All: $(ObjectFiles)
VPATH = @.^
.SUFFIXES: .c .s .o
.c.o:
$(CC) $< -o $@
.s.o:
$(ASM) -from $< -to $@
# Dynamic dependencies:
o.AllocLoad: ^.c.AllocLoad
o.AllocLoad: DeskLib:h.File
o.AllocLoad: DeskLib:h.Core
o.AllocLoad: DeskLib:h.SWI
o.Exists: ^.c.Exists
o.Exists: DeskLib:h.File
o.Exists: DeskLib:h.Core
o.Exists: DeskLib:h.SWI
o.Exists: C:h.kernel
o.IsDir: ^.c.IsDir
o.IsDir: DeskLib:h.Core
o.IsDir: DeskLib:h.File
o.IsDir: DeskLib:h.SWI
o.IsDir: DeskLib:h.SWI
o.LoadTo: ^.c.LoadTo
o.LoadTo: C:h.kernel
o.LoadTo: DeskLib:h.Core
o.LoadTo: DeskLib:h.SWI
o.LoadTo: DeskLib:h.File
o.printf: ^.c.printf
o.printf: DeskLib:h.File
o.printf: DeskLib:h.Core
o.printf: DeskLib:h.SWI
o.SetType: ^.c.SetType
o.SetType: C:h.kernel
o.SetType: DeskLib:h.File
o.SetType: DeskLib:h.Core
o.SetType: DeskLib:h.SWI
o.Size: ^.c.Size
o.Size: C:h.kernel
o.Size: DeskLib:h.file
o.Size: DeskLib:h.Core
o.Size: DeskLib:h.SWI